package com.aaa.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * Table: ums_member_rule_setting
 */
@Data
public class UmsMemberRuleSetting implements Serializable {
    /**
     * Table:     ums_member_rule_setting
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * Table:     ums_member_rule_setting
     * Column:    shop_id
     * Nullable:  true
     */
    private Long shopId;

    /**
     * 连续签到天数
     *
     * Table:     ums_member_rule_setting
     * Column:    continue_sign_day
     * Nullable:  true
     */
    private Integer continueSignDay;

    /**
     * 连续签到赠送数量
     *
     * Table:     ums_member_rule_setting
     * Column:    continue_sign_point
     * Nullable:  true
     */
    private Integer continueSignPoint;

    /**
     * 每消费多少元获取1个点
     *
     * Table:     ums_member_rule_setting
     * Column:    consume_per_point
     * Nullable:  true
     */
    private BigDecimal consumePerPoint;

    /**
     * 最低获取点数的订单金额
     *
     * Table:     ums_member_rule_setting
     * Column:    low_order_amount
     * Nullable:  true
     */
    private BigDecimal lowOrderAmount;

    /**
     * 每笔订单最高获取点数
     *
     * Table:     ums_member_rule_setting
     * Column:    max_point_per_order
     * Nullable:  true
     */
    private Integer maxPointPerOrder;

    /**
     * 类型：0->积分规则；1->成长值规则
     *
     * Table:     ums_member_rule_setting
     * Column:    type
     * Nullable:  true
     */
    private Integer type;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table ums_member_rule_setting
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}